% This file runs assigns the parameters values for Figure 1a, runs the
% dynare code, and saves the irfs in \Replication_files\mat_files.

clear
set_parameters(2.48,0,1.51,-.52,0.8,15,1,0,8)

cd ../mod_files
dynare a15_markups.mod

cd ../mat_files
save('irfs_w_inertia_extended.mat','y_e','c_e','z_a_e','dy_e','q_e','mu_e','pi_e','i_e')


cd ../m_files
set_parameters(0,0,1.51,-.52,0.8,15,1,0,8)
dynare a15_markups.mod

cd ../mat_files
save('irfs_wo_inertia_extended.mat','y_e','c_e','z_a_e','dy_e','q_e','mu_e','pi_e','i_e')
cd ../m_files

clear